<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $cfg_soft_enname; ?> Home</title>
<script src="skin/js/common.js" type="text/javascript"></script>
<script src="skin/js/main.js" type="text/javascript"></script>
<script src="skin/js/drag.js" type="text/javascript"></script>
<link type="text/css" href="skin/images/alerts.css" rel="stylesheet" media="screen">
<script language="javascript">

</script>
<link  href="skin/css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<!--当前导航-->
<script type="text/JavaScript">if(parent.$('admincpnav')) parent.$('admincpnav').innerHTML='后台首页&nbsp;&raquo;&nbsp;系统简要信息';</script>

<div class="r_main">
	<div class="r_content">
		<div class="r_content_1">
		
            <div class="S_info">&nbsp;程序信息</div>
            <div class="S_info2">
            
            <div class="S_list">程序开发：海东青</div>
            <div class="S_list">程序版本：<font color="red"><?php echo $cfg_version; ?></font>&nbsp;&nbsp;<span id="update"><?php if($cuserLogin->getUserRank()==1){?><a onclick="checkNewVersion();"><font color='red'>[检查更新]</font></a><?php } ?></span></div>
            <div class="S_list">GD版本：<?php echo @gdversion(); ?></div>
            <div class="S_list">是否安全模式：<font color='red'><?php echo ($isSafeMode ? 'On' : 'Off')?></font></div>
            <div class="S_list">支持上传的最大文件 ：<?php echo ini_get("post_max_size")?></div>
            <div class="S_list">Register_Globals：<font color='red'><?php echo ini_get("register_globals") ? 'On' : 'Off'?></font></div>
            <div class="S_list">Magic_Quotes_Gpc：<font color='red'><?php echo ini_get("magic_quotes_gpc") ? 'On' : 'Off'?></font></div>
            <div class="S_list">是否允许打开远程连接：<?php echo ini_get("allow_url_fopen") ? '支持' : '不支持'?></div>
            <div class="S_list">其它必须函数检测：
	<?php
          $needfunc = array('dir','phpinfo','fsockopen','iconv');
          $n = 0;
          foreach($needfunc as $k) {
          	if(!function_exists($k)) {
          		echo "<font color='red'>[{$k}×]</font> ";
          		$n++;
          	}
          }
          if($n==0) {
          	echo "符合要求";
          }
          else {
          	echo "被禁用的函数可能导致部份功能无法使用！";
          }
       ?></div>
	   <div class="S_list">PHP版本：<?php echo @phpversion(); ?></div>
	   <div class="S_list">环境引擎：<?php echo  @$_SERVER['SERVER_SOFTWARE']; ?></div>
	   <div class="S_list">MySql版本：<?php echo @mysql_get_server_info(); ?> </div>

                     
        
            </div>
<div  style="clear:left"></div>
			<div class="v_info">&nbsp;DuomiCMS官方动态</div>
			<div class="v_show">
           <script src="http://api.duomicms.net/news/news.js" type="text/javascript"></script>
			</div>

		</div>
	</div>
</div>
<?php
viewFoot();
?>
</body>

</html>